package com.ccrfid.rmc6.repository.business.rollcall;

import com.ccrfid.rmc6.entity.business.rollcall.RollcallResultEntity;
import org.springframework.data.repository.Repository;

import java.util.List;

public interface RollcallResultRepository extends Repository<RollcallResultEntity, Long> {
    //
    RollcallResultEntity save(RollcallResultEntity entity);
    //
    RollcallResultEntity getByRollcallIdAndPersonnelId(Long rollcallId, Long personnelId);
    //
    List<RollcallResultEntity> getAllByRollcallId(Long rollcallId);
}
